home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / misc / libx11inc.lha / X11 / Xm / FileSB.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-13  |  2.2 KB  |  89 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
  3.  * ALL RIGHTS RESERVED
  4. */ 
  5. /*   $RCSfile: FileSB.h,v $ $Revision: 1.12 $ $Date: 92/05/14 12:51:41 $ */
  6. /*
  7. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  8. /*
  9. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  10. #ifndef _XmFSelect_h
  11. #define _XmFSelect_h
  12.  
  13. #include <Xm/Xm.h>
  14.  
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18.  
  19.  
  20. /* Type definitions for FileSB resources: */
  21.  
  22. #ifdef _NO_PROTO
  23.  
  24. typedef void (*XmQualifyProc)() ;
  25. typedef void (*XmSearchProc)() ;
  26.  
  27. #else
  28.  
  29. typedef void (*XmQualifyProc)( Widget, XtPointer, XtPointer) ;
  30. typedef void (*XmSearchProc)( Widget, XtPointer) ;
  31.  
  32. #endif
  33.  
  34.  
  35. /* Class record constants */
  36.  
  37. externalref WidgetClass xmFileSelectionBoxWidgetClass;
  38.  
  39. typedef struct _XmFileSelectionBoxClassRec * XmFileSelectionBoxWidgetClass;
  40. typedef struct _XmFileSelectionBoxRec      * XmFileSelectionBoxWidget;
  41.  
  42.  
  43. #ifndef XmIsFileSelectionBox
  44. #define XmIsFileSelectionBox(w) (XtIsSubclass((w),xmFileSelectionBoxWidgetClass))
  45. #endif
  46.  
  47.  
  48. /********    Public Function Declarations    ********/
  49. #ifdef _NO_PROTO
  50.  
  51. extern Widget XmFileSelectionBoxGetChild() ;
  52. extern void XmFileSelectionDoSearch() ;
  53. extern Widget XmCreateFileSelectionBox() ;
  54. extern Widget XmCreateFileSelectionDialog() ;
  55.  
  56. #else
  57.  
  58. extern Widget XmFileSelectionBoxGetChild( 
  59.                         Widget fs,
  60. #if NeedWidePrototypes
  61.                         unsigned int which) ;
  62. #else
  63.                         unsigned char which) ;
  64. #endif /* NeedWidePrototypes */
  65. extern void XmFileSelectionDoSearch( 
  66.                         Widget fs,
  67.                         XmString dirmask) ;
  68. extern Widget XmCreateFileSelectionBox( 
  69.                         Widget p,
  70.                         String name,
  71.                         ArgList args,
  72.                         Cardinal n) ;
  73. extern Widget XmCreateFileSelectionDialog( 
  74.                         Widget ds_p,
  75.                         String name,
  76.                         ArgList fsb_args,
  77.                         Cardinal fsb_n) ;
  78.  
  79. #endif /* _NO_PROTO */
  80. /********    End Public Function Declarations    ********/
  81.  
  82.  
  83. #ifdef __cplusplus
  84. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  85. #endif
  86.  
  87. #endif /* _XmFSelect_h */
  88. /* DON'T ADD ANYTHING AFTER THIS #endif */
  89.